package com.leesche.zcsp.node.web.dao;

import com.leesche.zcsp.node.web.model.SysUserToken;
import com.leesche.zcsp.node.web.model.SysUserTokenCriteria;
import com.leesche.zcsp.node.web.service.impl.data.read.QuerySysUserTokenCondition;
import com.leesche.zcsp.node.web.service.impl.data.read.SysUserTokenDto;

import java.util.List;

public interface SysUserTokenDao 	extends
        BaseDao<SysUserToken, SysUserTokenCriteria, SysUserTokenDto, QuerySysUserTokenCondition,Long> {

    /**
     * @Title: selectUserTokenByCondition
     * @Description: TODO( 根据查询条件查询用户令牌信息 )
     * @author Jerry Chan
     * @date 2016-11-14 05:34:04
     * @param condition 查询条件
     * @return 用户令牌信息
     */
    SysUserToken selectUserTokenByCondition(QuerySysUserTokenCondition condition);

    /**
     * @Title:  selectUserInfoDtoByCondition
     * @Description: TODO( 根据查询模版获取用户令牌对应的用户信息Dto )
     * @author Jerry Chan
     * @date 2016/11/29 16:08
     * @return
     */
    SysUserTokenDto selectUserInfoDtoByCondition(QuerySysUserTokenCondition condition);


   List< SysUserToken> selectUserInfoListDtoByCondition(QuerySysUserTokenCondition condition);

}